<?php
class TripElementPlacemarkMap extends Zend_Db_Table_Abstract {
	
	protected $_primary = 'id';
	protected $_name = 'tripelement_placemark_map';
	
	protected $_referenceMap = array (
    'TripElement' => array (
        'columns' => 'element_id', 
        'refTableClass' => 'TripElement', 
        'refColumns' => 'id' 
    ),
    'PlaceMark' => array(
        'columns' => 'placemark_id',
        'refTableClass' => 'PlaceMark',
        'refColumns' => 'id'
    )
    );
}
?>